package com.qingcloud.adminbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingcloud.adminbackend.entity.domain.DomainTreeVO;
import com.qingcloud.adminbackend.entity.domain.SysDomain;

import java.util.List;

/**
 * <p>
 * 省市区对象 服务类
 * </p>
 *
 * @author wangjinnan
 * @since 2018-11-16
 */
public interface ISysDomainService extends IService<SysDomain> {

    /**
     * 查询所有省
     *
     * @return
     */
    List<SysDomain> getAllProvince();

    /**
     * 根据id 查询树结构
     */
    List<DomainTreeVO> selectTreeByIds(List<Long> domainIds);
}
